package com.mileoresko.hsm;

public class HSMTerminalState extends HSMBareState {

    public HSMTerminalState(final HierarchicalStateMachine owningStateMachine, final String label) {
        super(owningStateMachine, label);
    }

    protected final void defineNestedHsms() {
        // no can do
    }

    protected void entryAction(final Object arg) {
        // does nothing
    }

    protected final void exitAction(final Object arg) {
        // does nothing
    }

    public final boolean isTerminal() {
        return true;
    }

}
